package com.demo.feign.fallback;

import com.demo.feign.CustomServiceApi;
import org.springframework.stereotype.Component;

/**
 * @author yexi
 */
@Component
public class CustomServiceApiFallBack implements CustomServiceApi {

    @Override
    public Integer test1(Integer a, Integer b) {
        return -1;
    }

    @Override
    public Integer test2Get() {
        return -1;
    }

    @Override
    public Integer test2Post() {
        return -99;
    }

    @Override
    public String test3() {
        return "应急返回";
    }

    @Override
    public String test4() {
        return "应急返回";
    }

    @Override
    public String test5() {
        return "应急返回";
    }

    @Override
    public String test6() {
        return "应急返回";
    }

    @Override
    public String test7() {
        return "应急返回";
    }

    @Override
    public String test8() {
        return "应急返回";
    }
}
